﻿using PedestrianSensingRadar.Utility;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PedestrianSensingRadar
{
    public class Common
    {      
        public static ConcurrentQueue<VCI_CAN_OBJ> org_data = new ConcurrentQueue<VCI_CAN_OBJ>();//存储CAN原始数据

        public static ConcurrentQueue<Packet_t> org_data_com = new ConcurrentQueue<Packet_t>();//存储232原始数据

        public static ConcurrentQueue<Frame_t> frame = new ConcurrentQueue<Frame_t>();//存储帧数据-提供打点

        public static ConcurrentQueue<Frame_t> frame_record = new ConcurrentQueue<Frame_t>();//存储帧数据-提供存储

        //public static int COUT_NUM = 0;//检测区域个数

        public static byte linkflag;//检测方向

        //public static byte areaNum;//区域编号

        public static List<CheckArea> areas = new List<CheckArea>();//检测区域列表

        public static int IsMove = 0;

        public static bool isobj;

        public static bool is_sigal;

        public static Graphics gra;

        public static int state_machine = 0;
    }
}
